package com.xjwn.datasync.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("datasync_db")
public class DatasyncDb extends Model<DatasyncDb> {


   @TableId
   //连接名称
   private  String name;
   //数据库地址
   private String url;
   //数据库名称
   private String dbname;
   //状态 0正常 1报错
   private String username;
   //SQL语句
   private String password;
   //日志内容
   private String type;

}